<?php
$pid = $_POST['pid'];
include ("conn.php");
include ("findUser.php");
$sql="SELECT auid FROM pageList WHERE id = ".(int)$pid;
$result = $conn->query($sql);
$row = $result->fetch_assoc();
$uid = (int)$row['auid'];
echo json_encode(findUser($uid));
?>